package pers.cz.mapper;

import pers.cz.model.HostsAddress;
import pers.cz.model.HostsAddressExample;
import java.util.List;

import pers.cz.mybatisPlugin.PageRowBounds;
import org.apache.ibatis.annotations.Param;

public interface HostsAddressMapper {
    int countByExample(HostsAddressExample example);

    int deleteByExample(HostsAddressExample example);

    int deleteByPrimaryKey(Long id);

    int insert(HostsAddress record);

    int insertSelective(HostsAddress record);

    List<HostsAddress> selectByExample(HostsAddressExample example);

    HostsAddress selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") HostsAddress record, @Param("example") HostsAddressExample example);

    int updateByExample(@Param("record") HostsAddress record, @Param("example") HostsAddressExample example);

    int updateByPrimaryKeySelective(HostsAddress record);

    int updateByPrimaryKey(HostsAddress record);

    List<HostsAddress> selectAllHostsAddress();

    List<HostsAddress> selectAllHostsAddressByPage(PageRowBounds pageRowBounds);

    int getAddressTotalNum();

    List<HostsAddress> queryAddressByFuzzy(String enviName, String hostsAddress);
}
